package(default_visibility = ["//visibility:public"])

licenses(["notice"])

load(
    "@io_bazel_rules_go//go:def.bzl",
    "go_binary",
    "go_library",
    "go_test",
    "cgo_library",
)

go_library(
    name = "go_default_library",
    srcs = [
        "benchmark_util.go",
        "container.go",
        "doc.go",
        "image_list.go",
        "resource_collector.go",
        "simple_mount.go",
        "util.go",
    ],
    tags = ["automanaged"],
    deps = [
        "//pkg/api:go_default_library",
        "//pkg/api/errors:go_default_library",
        "//pkg/api/unversioned:go_default_library",
        "//pkg/api/v1:go_default_library",
        "//pkg/apis/componentconfig:go_default_library",
        "//pkg/apis/componentconfig/v1alpha1:go_default_library",
        "//pkg/kubelet/api/v1alpha1/stats:go_default_library",
        "//pkg/labels:go_default_library",
        "//pkg/util/procfs:go_default_library",
        "//pkg/util/runtime:go_default_library",
        "//pkg/util/sets:go_default_library",
        "//pkg/util/uuid:go_default_library",
        "//pkg/util/wait:go_default_library",
        "//test/e2e/common:go_default_library",
        "//test/e2e/framework:go_default_library",
        "//test/e2e/perftype:go_default_library",
        "//vendor:github.com/golang/glog",
        "//vendor:github.com/google/cadvisor/client/v2",
        "//vendor:github.com/google/cadvisor/info/v2",
        "//vendor:github.com/onsi/ginkgo",
        "//vendor:github.com/onsi/gomega",
        "//vendor:github.com/opencontainers/runc/libcontainer/cgroups",
    ],
)

go_test(
    name = "go_default_test",
    srcs = [
        "apparmor_test.go",
        "cgroup_manager_test.go",
        "container_manager_test.go",
        "density_test.go",
        "disk_eviction_test.go",
        "dynamic_kubelet_configuration_test.go",
        "e2e_node_suite_test.go",
        "garbage_collector_test.go",
        "image_id_test.go",
        "kubelet_test.go",
        "lifecycle_hook_test.go",
        "log_path_test.go",
        "memory_eviction_test.go",
        "mirror_pod_test.go",
        "resource_usage_test.go",
        "restart_test.go",
        "runtime_conformance_test.go",
        "summary_test.go",
        "volume_manager_test.go",
    ],
    library = "go_default_library",
    tags = ["automanaged"],
    deps = [
        "//pkg/api/errors:go_default_library",
        "//pkg/api/resource:go_default_library",
        "//pkg/api/unversioned:go_default_library",
        "//pkg/api/v1:go_default_library",
        "//pkg/client/cache:go_default_library",
        "//pkg/client/clientset_generated/release_1_5:go_default_library",
        "//pkg/kubelet:go_default_library",
        "//pkg/kubelet/api/v1alpha1/stats:go_default_library",
        "//pkg/kubelet/cm:go_default_library",
        "//pkg/kubelet/container:go_default_library",
        "//pkg/kubelet/dockertools:go_default_library",
        "//pkg/kubelet/images:go_default_library",
        "//pkg/kubelet/metrics:go_default_library",
        "//pkg/kubelet/qos:go_default_library",
        "//pkg/labels:go_default_library",
        "//pkg/metrics:go_default_library",
        "//pkg/runtime:go_default_library",
        "//pkg/runtime/schema:go_default_library",
        "//pkg/security/apparmor:go_default_library",
        "//pkg/types:go_default_library",
        "//pkg/util/intstr:go_default_library",
        "//pkg/util/uuid:go_default_library",
        "//pkg/watch:go_default_library",
        "//test/e2e/common:go_default_library",
        "//test/e2e/framework:go_default_library",
        "//test/e2e_node/services:go_default_library",
        "//test/e2e_node/system:go_default_library",
        "//test/utils:go_default_library",
        "//vendor:github.com/davecgh/go-spew/spew",
        "//vendor:github.com/golang/glog",
        "//vendor:github.com/kardianos/osext",
        "//vendor:github.com/onsi/ginkgo",
        "//vendor:github.com/onsi/ginkgo/config",
        "//vendor:github.com/onsi/ginkgo/reporters",
        "//vendor:github.com/onsi/gomega",
        "//vendor:github.com/onsi/gomega/gstruct",
        "//vendor:github.com/onsi/gomega/types",
        "//vendor:github.com/spf13/pflag",
    ],
)
